Repository navigation
fix(id): extract checkpoint parts from world/core.rs to satisfy production line guard (#5358) - #5365
Merged
Merged
Conversation
…oint_parts.rs (#5358) pkgs/id/src/world/core.rs was 2515 production lines, over the 2500 production-line-guard limit (main CI run 41790193563). Move the checkpoint part splitting/reassembly machinery (CheckpointEventPartKind, split_checkpoint_snapshot, split_checkpoint_events, CheckpointPartAccumulator, PendingCheckpointParts) verbatim into a new submodule pkgs/id/src/world/core/checkpoint_parts.rs; core.rs drops to ~2195 lines. No behavior change: cargo check passes and the world test suite (225 tests) passes on the laptop; the guard passes on a clean tree.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 53 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Nov 4, 2026
Merged
This was referenced Nov 4, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #5358.
Problem
Main CI run 41790193563 (production-line-guard) failed:
pkgs/id/src/world/core.rswas 2515 production lines, over the 2500 limit, and not grandfathered.Change
Extract the checkpoint part splitting/reassembly machinery from
world/core.rsinto a new submodulepkgs/id/src/world/core/checkpoint_parts.rs:CheckpointEventPartKind,checkpoint_part_json_len,checkpoint_event_part,checkpoint_part_countsplit_checkpoint_snapshot,split_checkpoint_events,floor_char_boundaryCheckpointPartAccumulator,PendingCheckpointPartsThe moved code is verbatim except
pub(super)visibility on the itemscore.rsuses.core.rsdrops to ~2195 production lines — comfortably under the limit with headroom, no grandfather entry needed.Verification
check-production-line-limit.shon a clean archive of this branch: OK (440 files checked).cargo check(pkgs/id, laptop): passes.cargo test --lib world::(laptop): 225 passed, 0 failed.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.